package com.alex.wechat.app.account.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Title: Entity
 * @Description: 小程序账户
 * @author onlineGenerator
 * @date 2017-04-13 15:53:03
 * @version V1.0
 *
 */
@Entity
@Table(name = "wx_app_account", schema = "")
@SuppressWarnings("serial")
@javax.xml.bind.annotation.XmlRootElement
public class WxAppAccountEntity implements java.io.Serializable {
  /** 主键 */
  private java.lang.String id;
  /** 创建人名称 */
  private java.lang.String createName;
  /** 创建人登录名称 */
  private java.lang.String createBy;
  /** 创建日期 */
  private java.util.Date createDate;
  /** 更新人名称 */
  private java.lang.String updateName;
  /** 更新人登录名称 */
  private java.lang.String updateBy;
  /** 更新日期 */
  private java.util.Date updateDate;
  /** 所属部门 */
  private java.lang.String sysOrgCode;
  /** 所属公司 */
  private java.lang.String sysCompanyCode;
  /** 名称 */
  @Excel(name = "name")
  private java.lang.String name;
  /** appId */
  @Excel(name = "appId")
  private java.lang.String appId;
  /** secret */
  @Excel(name = "secret")
  private java.lang.String secret;
  /** token */
  @Excel(name = "token")
  private java.lang.String token;
  /** aesKey */
  @Excel(name = "aesKey")
  private java.lang.String aesKey;
  /** 商户ID */
  @Excel(name = "商户ID")
  private java.lang.String parterId;
  /** 小程序原始ID */
  private java.lang.String originalId;
  /** 商户名称 */
  @Excel(name = "商户名称")
  private java.lang.String parterName;
  @Excel(name = "商户logo链接")
  private java.lang.String parterLogoUrl;

  @Excel(name = "商户电话")
  private java.lang.String parterTelephone;
  /** ACCESS_TOKEN */
  private java.lang.String accesstoken;
  /** ACCESS TOKEN 失效时间 */
  private Long expiresTime;
  /** 海鼎api username */
  private java.lang.String restApiUsername;
  /** 海鼎api password */
  private java.lang.String restApiPassword;
  /** 第三方平台AppId */
  private java.lang.String componentAppId;
  /** 部署方式 */
  private java.lang.String deploymentMethod;
  /** 授权码 */
  private java.lang.String authorizerAccessToken;
  /** 有效期 */
  private java.lang.Long authorizerAccessTokenExpiresIn;
  /** 刷新授权码token */
  private java.lang.String authorizerRefreshToken;
  /** 是否是托管小程序 */
  private java.lang.Boolean isHosted;
  /**
   * 微信支付商户号
   */
  private String payMchId;
  /**
   * 微信支付商户密钥
   */
  private String payMchKey;

  /**
   * 储值卡类型
   */
  private String cardType;

  /**
   * 小程序支付是否开启立减金
   */
  private String openDiscount;

  /**
   * 商品标识
   */
  private String goodsTag;

  /**
   * card 服务器路径
   */
  private String cardServiceUrl;

  /**
   * 卡系统api密码
   */
  private String cardApiPassword;
  /**
   * 卡系统api用户名
   */
  private String cardApiUsername;

  /**
   * 小程序是否注册会员
   */
  private String autoRegisiterMember;

  /**
   * 赠卡者能否够领取自己的赠卡
   */
  private String selfCanAcquireGiftcard;

  /** 小程序名称 */
  @Column(name = "name", length = 100)
  public java.lang.String getName() {
    return name;
  }

  public void setName(java.lang.String name) {
    this.name = name;
  }

  /**
   * ACCESS TOKEN过期时间。
   * 
   * @return
   */
  public Long getExpiresTime() {
    return expiresTime;
  }

  public void setExpiresTime(Long expiresTime) {
    this.expiresTime = expiresTime;
  }

  /**
   * 方法: 取得ACCESS_TOKEN
   * 
   * @return: java.lang.String ACCESS_TOKEN
   */
  @Column(name = "ACCESSTOKEN", nullable = true, length = 150)
  public java.lang.String getAccesstoken() {
    return this.accesstoken;
  }

  /**
   * 方法: 设置ACCESS_TOKEN
   * 
   * @param: java.lang.String
   *           ACCESS_TOKEN
   */
  public void setAccesstoken(java.lang.String accesstoken) {
    this.accesstoken = accesstoken;
  }

  /**
   * 方法: 取得主键
   * 
   * @return 主键
   */
  @Id
  @GeneratedValue(generator = "paymentableGenerator")
  @GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
  @Column(name = "ID", nullable = false, length = 36)
  public java.lang.String getId() {
    return this.id;
  }

  /**
   * 方法: 设置主键
   *
   * @param id
   *          主键
   */
  public void setId(java.lang.String id) {
    this.id = id;
  }

  /**
   * 方法: 取得创建人名称
   * 
   * @return 创建人名称
   */
  @Column(name = "CREATE_NAME", nullable = true, length = 50)
  public java.lang.String getCreateName() {
    return this.createName;
  }

  /**
   * 方法: 设置创建人名称
   *
   * @param createName
   *          创建人名称
   */
  public void setCreateName(java.lang.String createName) {
    this.createName = createName;
  }

  /**
   * 方法: 取得创建人登录名称
   * 
   * @return 创建人登录名称
   */
  @Column(name = "CREATE_BY", nullable = true, length = 50)
  public java.lang.String getCreateBy() {
    return this.createBy;
  }

  /**
   * 方法: 设置创建人登录名称
   *
   * @param createBy
   *          创建人登录名称
   */
  public void setCreateBy(java.lang.String createBy) {
    this.createBy = createBy;
  }

  /**
   * 方法: 取得创建日期
   * 
   * @return 创建日期
   */
  @Column(name = "CREATE_DATE", nullable = true, length = 20)
  public java.util.Date getCreateDate() {
    return this.createDate;
  }

  /**
   * 方法: 设置创建日期
   *
   * @param createDate
   *          创建日期
   */
  public void setCreateDate(java.util.Date createDate) {
    this.createDate = createDate;
  }

  /**
   * 方法: 取得更新人名称
   * 
   * @return 更新人名称
   */
  @Column(name = "UPDATE_NAME", nullable = true, length = 50)
  public java.lang.String getUpdateName() {
    return this.updateName;
  }

  /**
   * 方法: 设置更新人名称
   *
   * @param updateName
   *          更新人名称
   */
  public void setUpdateName(java.lang.String updateName) {
    this.updateName = updateName;
  }

  /**
   * 方法: 取得更新人登录名称
   * 
   * @return 更新人登录名称
   */
  @Column(name = "UPDATE_BY", nullable = true, length = 50)
  public java.lang.String getUpdateBy() {
    return this.updateBy;
  }

  /**
   * 方法: 设置更新人登录名称
   *
   * @param updateBy
   *          更新人登录名称
   */
  public void setUpdateBy(java.lang.String updateBy) {
    this.updateBy = updateBy;
  }

  /**
   * 方法: 取得更新日期
   * 
   * @return 更新日期
   */
  @Column(name = "UPDATE_DATE", nullable = true, length = 20)
  public java.util.Date getUpdateDate() {
    return this.updateDate;
  }

  /**
   * 方法: 设置更新日期
   *
   * @param updateDate
   *          更新日期
   */
  public void setUpdateDate(java.util.Date updateDate) {
    this.updateDate = updateDate;
  }

  /**
   * 方法: 取得所属部门
   * 
   * @return 所属部门
   */
  @Column(name = "SYS_ORG_CODE", nullable = true, length = 50)
  public java.lang.String getSysOrgCode() {
    return this.sysOrgCode;
  }

  /**
   * 方法: 设置所属部门
   *
   * @param sysOrgCode
   *          所属部门
   */
  public void setSysOrgCode(java.lang.String sysOrgCode) {
    this.sysOrgCode = sysOrgCode;
  }

  /**
   * 方法: 取得所属公司
   * 
   * @return 所属公司
   */
  @Column(name = "SYS_COMPANY_CODE", nullable = true, length = 50)
  public java.lang.String getSysCompanyCode() {
    return this.sysCompanyCode;
  }

  /**
   * 方法: 设置所属公司
   *
   * @param sysCompanyCode
   *          所属公司
   */
  public void setSysCompanyCode(java.lang.String sysCompanyCode) {
    this.sysCompanyCode = sysCompanyCode;
  }

  /**
   * 方法: 取得appId
   * 
   * @return appId
   */
  @Column(name = "APP_ID", nullable = true, length = 50)
  public java.lang.String getAppId() {
    return this.appId;
  }

  /**
   * 方法: 设置appId
   *
   * @param appId
   *          appId
   */
  public void setAppId(java.lang.String appId) {
    this.appId = appId;
  }

  /**
   * 方法: 取得secret
   * 
   * @return secret
   */
  @Column(name = "SECRET", nullable = true, length = 100)
  public java.lang.String getSecret() {
    return this.secret;
  }

  /**
   * 方法: 设置secret
   *
   * @param secret
   *          secret
   */
  public void setSecret(java.lang.String secret) {
    this.secret = secret;
  }

  /**
   * 方法: 取得token
   * 
   * @return token
   */
  @Column(name = "TOKEN", nullable = true, length = 100)
  public java.lang.String getToken() {
    return this.token;
  }

  /**
   * 方法: 设置token
   *
   * @param token
   *          token
   */
  public void setToken(java.lang.String token) {
    this.token = token;
  }

  /**
   * 方法: 取得aesKey
   * 
   * @return aesKey
   */
  @Column(name = "AES_KEY", nullable = true, length = 100)
  public java.lang.String getAesKey() {
    return this.aesKey;
  }

  /**
   * 方法: 设置aesKey
   *
   * @param aesKey
   *          aesKey
   */
  public void setAesKey(java.lang.String aesKey) {
    this.aesKey = aesKey;
  }

  /**
   * 方法: 取得商户ID
   * 
   * @return 商户ID
   */
  @Column(name = "PARTER_ID", nullable = true, length = 100)
  public java.lang.String getParterId() {
    return this.parterId;
  }

  /**
   * 方法: 设置商户ID
   *
   * @param parterId
   *          商户ID
   */
  public void setParterId(java.lang.String parterId) {
    this.parterId = parterId;
  }

  /**
   * 方法: 取得商户名称
   * 
   * @return 商户名称
   */
  @Column(name = "PARTER_NAME", nullable = true, length = 128)
  public java.lang.String getParterName() {
    return this.parterName;
  }

  /**
   * 方法: 设置商户名称
   *
   * @param parterName
   *          商户名称
   */
  public void setParterName(java.lang.String parterName) {
    this.parterName = parterName;
  }

  /**
   * 方法: 取得商户logo链接
   * 
   * @return 商户logo链接
   */
  @Column(name = "PARTER_LOGO_URL", nullable = true, length = 500)
  public java.lang.String getParterLogoUrl() {
    return parterLogoUrl;
  }

  /**
   * 方法: 设置商户logo链接
   *
   * @param parterLogoUrl
   *          商户名称链接
   */
  public void setParterLogoUrl(java.lang.String parterLogoUrl) {
    this.parterLogoUrl = parterLogoUrl;
  }

  /**
   * 方法:获取海鼎api接口用户名
   * 
   * @return
   */
  @Column(name = "REST_API_USERNAME", nullable = true, length = 32)
  public java.lang.String getRestApiUsername() {
    return restApiUsername;
  }

  /**
   * 方法:设置rest接口用户名
   * 
   * @param restApiUsername
   */
  public void setRestApiUsername(java.lang.String restApiUsername) {
    this.restApiUsername = restApiUsername;
  }

  /**
   * 方法:获取rest接口密码
   * 
   * @return
   */
  @Column(name = "REST_API_PASSWORD", nullable = true, length = 32)
  public java.lang.String getRestApiPassword() {
    return restApiPassword;
  }

  /**
   * 方法:设置rest接口密码
   * 
   * @param restApiPassword
   */
  public void setRestApiPassword(java.lang.String restApiPassword) {
    this.restApiPassword = restApiPassword;
  }

  /**
   * 方法:获取第三方平台AppId
   * 
   * @return
   */
  @Column(name = "component_app_id", nullable = true, length = 50)
  public java.lang.String getComponentAppId() {
    return componentAppId;
  }

  public void setComponentAppId(java.lang.String componentAppId) {
    this.componentAppId = componentAppId;
  }

  /**
   * 方法:获取部署方式
   * 
   * @return
   */
  @Column(name = "deployment_method", nullable = true, length = 50)
  public java.lang.String getDeploymentMethod() {
    return deploymentMethod;
  }

  public void setDeploymentMethod(java.lang.String deploymentMethod) {
    this.deploymentMethod = deploymentMethod;
  }

  /**
   * 方法:获取授权码
   * 
   * @return
   */
  @Column(name = "authorizer_access_token", length = 150)
  public java.lang.String getAuthorizerAccessToken() {
    return authorizerAccessToken;
  }

  public void setAuthorizerAccessToken(java.lang.String authorizerAccessToken) {
    this.authorizerAccessToken = authorizerAccessToken;
  }

  /**
   * 方法:获取授权码有效期
   * 
   * @return
   */
  @Column(name = "authorizer_access_token_expires_in")
  public java.lang.Long getAuthorizerAccessTokenExpiresIn() {
    return authorizerAccessTokenExpiresIn;
  }

  public void setAuthorizerAccessTokenExpiresIn(java.lang.Long authorizerAccessTokenExpiresIn) {
    this.authorizerAccessTokenExpiresIn = authorizerAccessTokenExpiresIn;
  }

  /**
   * 方法:刷新授权码token
   * 
   * @return
   */
  @Column(name = "authorizer_refresh_token", length = 150)
  public java.lang.String getAuthorizerRefreshToken() {
    return authorizerRefreshToken;
  }

  public void setAuthorizerRefreshToken(java.lang.String authorizerRefreshToken) {
    this.authorizerRefreshToken = authorizerRefreshToken;
  }

  /**
   * 方法:是否是托管小程序
   * 
   * @return
   */
  @Column(name = "is_hosted", length = 32)
  public java.lang.Boolean getIsHosted() {
    return isHosted;
  }

  public void setIsHosted(java.lang.Boolean isHosted) {
    this.isHosted = isHosted;
  }

  /**
   * 取得原始id
   * 
   * @return
   */
  @Column(name = "orginalId", length = 50)
  public java.lang.String getOriginalId() {
    return originalId;
  }

  /**
   * 设置取得原始id
   * 
   * @param originalId
   */
  public void setOriginalId(java.lang.String originalId) {
    this.originalId = originalId;
  }

  /**
   * 微信支付商户号
   */
  @Column(name = "payMchId", length = 100)
  public String getPayMchId() {
    return payMchId;
  }

  public void setPayMchId(String payMchId) {
    this.payMchId = payMchId;
  }

  /**
   * 微信支付商户密钥
   */
  @Column(name = "payMchKey", length = 100)
  public String getPayMchKey() {
    return payMchKey;
  }

  public void setPayMchKey(String payMchKey) {
    this.payMchKey = payMchKey;
  }

  /**
   * 商户电话
   */
  @Column(name = "MchTelephone")
  public java.lang.String getParterTelephone() {
    return parterTelephone;
  }

  public void setParterTelephone(java.lang.String parterTelephone) {
    this.parterTelephone = parterTelephone;
  }

  /**
   * 储值卡类型
   * 
   * @return
   */
  @Column(name = "cardType")
  public String getCardType() {
    return cardType;
  }

  public void setCardType(String cardType) {
    this.cardType = cardType;
  }

  /**
   * 开启小程序立减金
   * 
   * @return
   */
  @Column(name = "openDiscount")
  public String getOpenDiscount() {
    return openDiscount;
  }

  public void setOpenDiscount(String openDiscount) {
    this.openDiscount = openDiscount;
  }

  /**
   * 商品标识
   * 
   * @return
   */
  @Column(name = "goodsTag")
  public String getGoodsTag() {
    return goodsTag;
  }

  public void setGoodsTag(String goodsTag) {
    this.goodsTag = goodsTag;
  }

  /**
   * 卡系统api用户名
   * 
   * @return
   */
  @Column(name = "cardApiUsername", length = 50)
  public String getCardApiUsername() {
    return cardApiUsername;
  }

  public void setCardApiUsername(String cardApiUsername) {
    this.cardApiUsername = cardApiUsername;
  }

  /**
   * 卡系统api用户名
   * 
   * @return
   */
  @Column(name = "cardApiPassword", length = 50)
  public String getCardApiPassword() {
    return cardApiPassword;
  }

  public void setCardApiPassword(String cardApiPassword) {
    this.cardApiPassword = cardApiPassword;
  }

  /**
   * 卡系统服务器路径
   * 
   * @return
   */
  @Column(name = "cardServiceUrl", length = 120)
  public String getCardServiceUrl() {
    return cardServiceUrl;
  }

  public void setCardServiceUrl(String cardServiceUrl) {
    this.cardServiceUrl = cardServiceUrl;
  }

  /**
   * 是否自动注册鼎力云会员
   * 
   * @return
   */
  @Column(name = "autoRegisiterMember")
  public String getAutoRegisiterMember() {
    return autoRegisiterMember;
  }

  public void setAutoRegisiterMember(String autoRegisiterMember) {
    this.autoRegisiterMember = autoRegisiterMember;
  }

  /**
   * 赠卡者能否够领取自己的赠卡
   * 
   * @return
   */
  @Column(name = "selfCanAcquireGiftcard")
  public String getSelfCanAcquireGiftcard() {
    return selfCanAcquireGiftcard;
  }

  public void setSelfCanAcquireGiftcard(String selfCanAcquireGiftcard) {
    this.selfCanAcquireGiftcard = selfCanAcquireGiftcard;
  }

}
